package cn.exrick.xboot.modules.transport.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@ApiModel(value = "仓点押金参数")
public class DepositAmountParam {

    @ApiModelProperty(value = "仓点id")
    @NotNull(message = "仓点id不能为空")
    private Long warehouseId;

    @ApiModelProperty(value = "充值金额")
    @NotNull(message = "充值金额不能为空")
    private BigDecimal amount;
}
